package com.king.designpatterns.设计模式对比.创造型模式对比.建造者模式;

/**
 * 超人类
 *
 * @author king
 * @date 2021-06-16 17:03
 */
public class SuperMan {
    /**
     * 超人的身体
     */
    private String body;
    /**
     * 超人的特殊能力
     */
    private String specialTalent;
    /**
     * 超人的标志
     */
    private String specialSymbol;

    @Override
    public String toString() {
        return "SuperMan{" +
                "body='" + body + '\'' +
                ", specialTalent='" + specialTalent + '\'' +
                ", specialSymbol='" + specialSymbol + '\'' +
                '}';
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getSpecialTalent() {
        return specialTalent;
    }

    public void setSpecialTalent(String specialTalent) {
        this.specialTalent = specialTalent;
    }

    public String getSpecialSymbol() {
        return specialSymbol;
    }

    public void setSpecialSymbol(String specialSymbol) {
        this.specialSymbol = specialSymbol;
    }
}
